-- GENERATED SPELL FOR [Heb'Drakkar Striker] --


function spell0_28465(pUnit, Event) --@Rabies,n/a--
pUnit:FullCastSpellOnTarget(51951,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28465', 15000, 1)
end

function spell1_28465(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28465', 663, 1)
end

function Sorts_28465(pUnit, Event)
local choix_sorts_28465 = math.random(0, 1)
if choix_sorts_28465 == 0 then
pUnit:RegisterEvent('spell0_28465', 1, 1)
end
if choix_sorts_28465 == 1 then
pUnit:RegisterEvent('spell1_28465', 1, 1)
end
end

function mob28465_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28465', math.random(1500, 3000), 1)
end

function mob28465_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28465_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28465_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28465, 1, 'mob28465_Action')
RegisterUnitEvent(28465, 2, 'mob28465_Leave')
RegisterUnitEvent(28465, 3, 'mob28465_Kill')
RegisterUnitEvent(28465, 4, 'mob28465_Die')
